<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
<head>
    <meta charset="UTF-8">
    <title>添加书籍</title>
</head>
<body>
<div class="container">
    <h3 class="text-center">添加图书</h3>
    <div class="col-md-offset-3 col-md-6">
        <form method="post" novalidate>
            <span style="color:red;">{{ error }}</span>
            <div class="form-group">
                <label for="title">书名</label>
                <input name="title" type="text" id="title" class="form-control"/>
            </div>

            <div class="form-group">
                <label for="author">作者</label>
                <input name="author" type="text" id="author" class="form-control"/>
            </div>
            <div class="form-group">
                <label for="price">价格</label>
                <input name="price" type="text" id="price" class="form-control"/>
            </div>

            <input type="submit" class="btn btn-success" value="提交">
        </form>
    </div>
</div>

</body>
</html>